package org.jeecg.modules.xindian.reconciliation.service;

import cn.hutool.core.lang.Assert;
import com.alibaba.fastjson.JSON;
import org.apache.commons.collections.CollectionUtils;
import org.jeecg.modules.xindian.reconciliation.entity.SalesmanManagerRate;
import com.baomidou.mybatisplus.extension.service.IService;
import org.jeecg.modules.xindian.reconciliation.enums.DeleteFlagEnum;

import java.math.BigDecimal;
import java.util.List;

import static org.jeecg.modules.xindian.reconciliation.service.impl.InsuranceSettlementConfigServiceImpl.checkBetween;

/**
 * @Description: 业务员结算比例
 * @Author: jeecg-boot
 * @Date:   2024-04-11
 * @Version: V1.0
 */
public interface ISalesmanManagerRateService extends IService<SalesmanManagerRate> {
    /**
     * 删除配置数据
     * @param id
     * @return
     */
    Boolean deleteSalesmanManagerRate(String id);

    Boolean deleteSalesman(String id);

    List<SalesmanManagerRate> queryBySalesmanId(String salesmanId);

    public List<SalesmanManagerRate> listAllEnableRate();

}
